T
The type of parameter this thread uses.
Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Generic Execute(Generic Action,T) Method
See Also 
Leadtools.Dicom.AddIn Namespace > AsyncHelper Class > Execute Method : Generic Execute(Generic Action,T) Method



d
The delegate to execute asynchronously.
state
The state information to pass to the thread.
d
The delegate to execute asynchronously.
state
The state information to pass to the thread.
Executes the specified delegate. Provides additional state information to be passed to the thread.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Execute(Of T)( _
   ByVal d As Action(Of T), _
   ByVal state As T _
) As AsyncResult
Visual Basic (Usage)Copy Code
Dim d As Action(Of T)
Dim state As T
Dim value As AsyncResult
 
value = AsyncHelper.Execute(Of T)(d, state)
C# 
public static AsyncResult Execute<T>( 
   Action<T> d,
   T state
)
C++/CLI 
public:
static AsyncResult^ Executegeneric<typename T>
( 
   Action<T>^ d,
   T state
) 

Parameters

d
The delegate to execute asynchronously.
state
The state information to pass to the thread.

Type Parameters

T
The type of parameter this thread uses.

Return Value

The asynchronous result.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features